package com.ruoyi.project.blog.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ForgetPasswordDTO {

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(name = "username", value = "username", required = true, dataType = "String")
    private String username;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(name = "password", value = "password", required = true, dataType = "String")
    private String password;

    @NotBlank(message = "验证码不能为空")
    private String code;
}
